package org.galaxyworld.flycode.config;

public class ModelConfigData extends ConfigData {

    private boolean enabled;

    private String packageName;

    private String templateName;

    @Override
    public void load(ConfigFile configFile) {
        packageName = configFile.getString("model.package");
        templateName = configFile.getString("template.model");
    }

    public String getPackageName() {
        return packageName;
    }

    public String getTemplateName() {
        return templateName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public void setTemplateName(String templateName) {
        this.templateName = templateName;
    }

    public boolean isEnabled() {
        return enabled;
    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
    }

    @Override
    public String getName() {
        return "model";
    }
}
